package app;

/**
 * @author LeeV
 * @date 2021年12月16日 14:58
 * 用来保存时间的类
 */

public class Time {
    int Year;
    int Mouth;
    int Day;


    public Time(int year, int mouth, int day) {
        this.Year = year;
        this.Mouth = mouth;
        this.Day = day;

    }

    void outputDate() {
        System.out.println(Year + "年" + Mouth + "月" + Day + "日");
    }
}


